﻿using System;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    ///  一体板加急申请主表
    /// </summary>
    [SugarTable("YTBUrgentApplicationHeader")]
    public class YTBUrgentApplicationHeader
    {
        /// <summary>
        ///  主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 流程号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string ApplicationUserNames { get; set; }

        /// <summary>
        /// 申请人id
        /// </summary>
        public string ApplicationUserIds { get; set; }


        /// <summary>
        /// 销售员姓名
        /// </summary>
        public string SellUserNames { get; set; }


        /// <summary>
        /// 销售员id
        /// </summary>
        public string SellUserIds { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        public string OpportunityNumber { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNumber { get; set; }


        /// <summary>
        /// 生产工厂
        /// </summary>
        public string ProductionPlant { get; set; }


        /// <summary>
        /// 订单创建时间
        /// </summary>
        public DateTime CreateOrderDate { get; set; }

        /// <summary>
        /// 加急入库时间
        /// </summary>
        public DateTime ExpeditedStorageDate { get; set; }

        /// <summary>
        /// 申请原因
        /// </summary>
        public string ApplicationReason { get; set; }

        /// <summary>
        ///  抄送人员ID
        /// </summary>
        public string CcUserIds { get; set; }

        /// <summary>
        /// 抄送人员名
        /// </summary>
        public string CcUserNames { get; set; }
    }
}